package com.ruoyi.domain;

import com.ruoyi.system.domain.ZhwyShops;
import com.ruoyi.system.mapper.ZhwyShopsMapper;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 综合收银对象 zhwy_cashregister
 * 
 * @author ruoyi
 * @date 2024-05-08
 */
public class ZhwyCashregister extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;
    private String code;
    private ZhwyShops zhwyShops;//商铺
    private  ZhwyHirer zhwyHirer;//租户
    private ZhwyRentalcontract zhwyRentalcontract;//租售合同
    private ZhwyChargedata zhwyChargedata;//收费数据
    private List<ZhwyTemporarydeposit> zhwyTemporarydepositList;//临时收费/押金管理

    public List<ZhwyTemporarydeposit> getZhwyTemporarydepositList() {
        return zhwyTemporarydepositList;
    }

    public void setZhwyTemporarydepositList(List<ZhwyTemporarydeposit> zhwyTemporarydepositList) {
        this.zhwyTemporarydepositList = zhwyTemporarydepositList;
    }

    public ZhwyChargedata getZhwyChargedata() {
        return zhwyChargedata;
    }

    public void setZhwyChargedata(ZhwyChargedata zhwyChargedata) {
        this.zhwyChargedata = zhwyChargedata;
    }

    private ZhwyChargeitem zhwyChargeitem;//收费项目

    public ZhwyChargeitem getZhwyChargeitem() {
        return zhwyChargeitem;
    }

    public void setZhwyChargeitem(ZhwyChargeitem zhwyChargeitem) {
        this.zhwyChargeitem = zhwyChargeitem;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }




    public ZhwyRentalcontract getZhwyRentalcontract() {
        return zhwyRentalcontract;
    }

    public void setZhwyRentalcontract(ZhwyRentalcontract zhwyRentalcontract) {
        this.zhwyRentalcontract = zhwyRentalcontract;
    }

    public ZhwyHirer getZhwyHirer() {
        return zhwyHirer;
    }

    public void setZhwyHirer(ZhwyHirer zhwyHirer) {
        this.zhwyHirer = zhwyHirer;
    }

    public ZhwyShops getZhwyShops() {
        return zhwyShops;
    }

    public void setZhwyShops(ZhwyShops zhwyShops) {
        this.zhwyShops = zhwyShops;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("zhwyShops", getZhwyShops())
            .append("zhwyHirer", getZhwyHirer())
            .append("zhwyRentalcontract", getZhwyRentalcontract())
            .append("zhwyChargedata", getZhwyChargedata())
            .append("zhwyChargeitem", getZhwyChargeitem())
            .append("zhwyTemporarydepositList", getZhwyTemporarydepositList())
            .toString();
    }
}
